<div class="col-sm-3 col-md-2 sidebar">
    <ul class="nav nav-sidebar">
    	<#list menuNodeList as menuNode>
    		<#if menuNode.curNode.leaf>
    			<li class="${(path == menuNode.curNode.url)?string('active','')}"><a href="${rc.contextPath}${menuNode.curNode.url}">${menuNode.curNode.name}</a></li>
    		<#else>
    			<li>
			        <h3 data-toggle="collapse" data-target="#${menuNode.curNode.id}" >${menuNode.curNode.name}</h3>
			        <ul class="sub-nav-wrap collapse in" id="${menuNode.curNode.id}">
			        	<#list menuNode.subNodeList as subMenuNode>
			        		<li class="${(path == subMenuNode.url)?string('active','')}"><a href="${rc.contextPath}${subMenuNode.url}">${subMenuNode.name}</a></li>
			        	</#list>
			        </ul>
			    </li>
    		</#if>
	    </#list>
    </ul>
</div>
